package com.rpc.messages;

import java.io.Serializable;

/**
 * @Auther: pengjf
 * @Date: 2018-08-06 15:45
 * @Description:
 */
public class MessageReq<T>  implements Serializable {
    private long reqId;
    private String method;
    private String className;
    private Object[] args;
    private Class<T>[] argsType;

    public Class<T>[] getArgsType() {
        return argsType;
    }

    public void setArgsType(Class<T>[] argsType) {
        this.argsType = argsType;
    }

    public long getReqId() {
        return reqId;
    }

    public void setReqId(long reqId) {
        this.reqId = reqId;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }
}
